<template>
  <div class="FooterContent">
    <div class="img">
      <div>{{ info.banquan }}</div>
      <a
        href="https://beian.miit.gov.cn/#/Integrated/index"
        target="_bank"
        class="left"
        >{{ info.beian }}</a
      >
    </div>
    <div class="img">
      <div>{{ info.address }}</div>
      <div class="left">{{ info.tel }}</div>
    </div>
    <div class="img">
      <img :src="imgUrl + info.imgs[0]" alt="" />
      <img :src="imgUrl + info.imgs[1]" alt="" />
    </div>
  </div>
</template>

<script>
import { defineComponent } from "vue";
import { imgUrl } from "@/api/https.js";

export default defineComponent({
  setup() {
    const info = JSON.parse(localStorage.getItem("publicInfo"));

    return {
      info,
      imgUrl,
    };
  },
});
</script>

<style lang="less" scoped>
.FooterContent {
  width: 100%;
  text-align: center;
  font-size: 0.875rem;
  font-family: PingFang SC;
  font-weight: 500;
  color: #b3b3b3;
  padding-top: 200px;
  padding-bottom: 50px;

  .img {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

    img {
      height: 47px;
      margin-top: 10px;
    }

    div {
      margin-top: 10px;
    }

    a {
      margin-top: 10px;
      transition: all 0.3s;
    }

    .left {
      margin-left: 20px;
    }
  }
}
</style>
